<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="wf" uri="/augurit-wf"%>
 <%@page import="com.augurit.common.system.web.auth.form.LoginUserForm"%>
 <%LoginUserForm user=(LoginUserForm)request.getSession().getAttribute("SES_LOGIN_USER"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="${ctx}/gzcgwsp/resources/js/YwEnterprise.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/YwUtil.js" type="text/javascript"></script>
<script type='text/javascript' src="${ctx}/dwr/engine.js"></script>
<script type='text/javascript' src="${ctx}/dwr/util.js"></script>
<script type='text/javascript' src="${ctx}/dwr/interface/FileUploadCntl.js"></script>
<script src="${ctx}/gzcgwsp/qyzz/YwRqQyzzInfo/js/qyzzInfo.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/state/rqstate/js/stateGrid.js" type="text/javascript"></script>
<script type="text/javascript">
var saveAndSendFlag = undefined;

$(document).ready(function(){
  $('form[0]').ajaxForm({
    dataType: 'json', 
    success: wfBusSaveCallback
  });
  

});

function wfBusSaveCallback(result){
  if(saveAndSendFlag == 'wfBusYslTuih') {
      if (opener.refresh) opener.refresh();
      window.close();
    }
  var success = window.updateLayoutAfterWfBusSave(result, false);
   
  if (!result.success) return;
  
  if(success){
    if (result && result.form) {
      WF_CONFIG.masterEntityKey = result.form.id;
      document.forms[0].id.value = result.form.id;
      document.forms[0].qyid.value = result.form.qyid;
      
      document.forms[0].acceptNo.value = result.form.acceptNo;
      document.forms[0].acceptNo_.value = result.form.acceptNo;
      
      //延期更新答复时间  开始
      var dfsjArr= new Array(); //定义一数组
      var dfsj = result.form.dfsj;
      dfsjArr = dfsj.split("-");
      document.forms[0].dfsj.value = dfsjArr[0]+"年"+dfsjArr[1]+"月"+dfsjArr[2].split(" ")[0]+"日";
      //延期更新答复时间  结束
      //改变延期标志  开始
      if(result.form.yqts>0){
      	document.forms[0].yqflag.value = "Y";
      }
      //改变延期标志  结束
      
      document.getElementById('sjcl_iframe').src = '${ctx}/yw-com-sjcllist!ywList.action?tplcode=${templateCode}&ajid=' + result.form.id + '&qyid=' + result.form.qyid;
      
      if (Ext.getCmp('sjclPanel')) Ext.getCmp('sjclPanel').setDisabled(false);
      if (Ext.getCmp('gisPanel')) Ext.getCmp('gisPanel').setDisabled(false);
      
      if (Ext.getCmp('WF_PRINT')) Ext.getCmp('WF_PRINT').setDisabled(false);
      
      saveOpinion();
    }
    
    if(saveAndSendFlag == 'wfBusSaveAndSend') {
      var toolbar = Ext.getCmp('WF_TOOLBAR');
      if(toolbar) toolbar.wfSend();
    }
    if(saveAndSendFlag == 'wfBusSave') {
      if (opener.refresh) opener.refresh();
      alert('保存成功！');
    }
    if(saveAndSendFlag == 'wfBusSj') {
      if (opener.refresh) opener.refresh();
      Ext.getCmp('YslSjBtn').setDisabled(true);
      Ext.getCmp('YslTuihBtn').setDisabled(true);
      alert('收件成功！');
    }
   
  }
}

function wfBusSaveAndSend(templateCode, taskInstDbid){
  saveAndSendFlag = 'wfBusSaveAndSend';
  if(validateSend()){
    $('form[0]').attr('action', '${ctx}/yw-rq-qyzz-info!wfBusSave.action?templateCode='+templateCode+'&taskInstDbid='+taskInstDbid);
    $('form[0]').submit();
    if (Ext.getCmp('WF_SAVEANDSEND')) Ext.getCmp('WF_SAVEANDSEND').setDisabled(true);//设置发送按钮不可用
  }
}

function wfBusSave(templateCode, taskInstDbid){
  if (Ext.getCmp('WF_SAVEANDSEND')) Ext.getCmp('WF_SAVEANDSEND').setDisabled(false);//恢复发送按钮可用
  saveAndSendFlag = 'wfBusSave';
  if(validateForm()){
    $('form[0]').attr('action', '${ctx}/yw-rq-qyzz-info!wfBusSave.action?templateCode='+templateCode+'&taskInstDbid='+taskInstDbid);
    $('form[0]').submit();
  }
}

function wfBusSj() {
  saveAndSendFlag = 'wfBusSj';
  if(validateForm()){
    $('form[0]').attr('action', '${ctx}/yw-rq-qyzz-info!wfBusSave.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
    $('form[0]').submit();
  }
}

function wfBusYslTuih() {
  saveAndSendFlag = 'wfBusYslTuih';
  if(validateForm()){
    $('form[0]').attr('action', '${ctx}/yw-rq-qyzz-info!wfBusYslTuih.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
    $('form[0]').submit();
  }
}

//套打资质证书
function printZzzsBtn(){
    if(<wf:hasPriv activities="jbrsj" />){
        openCenterWindow(ctx + '/yw-rq-qyzz-info!preViewZzzs.action?id=${id}'+"&hjmc=jbrsj", 1100, 650);
    }else if(<wf:hasPriv activities="dzgz" />){
       openCenterWindow(ctx + '/yw-rq-qyzz-info!preViewZzzs.action?id=${id}'+"&hjmc=dzgz", 1100, 650);
    }
}

//套打资质证书副本
function printZzzsfbBtn(){
       if(<wf:hasPriv activities="jbrsj" />){
        openCenterWindow(ctx + '/yw-rq-qyzz-info!preViewZzzsfb.action?id=${id}'+'&templateCode=${templateCode}'+'&hjmc=jbrsj', 1100, 650);
    }else if(<wf:hasPriv activities="dzgz" />){
        openCenterWindow(ctx + '/yw-rq-qyzz-info!preViewZzzsfb.action?id=${id}'+'&templateCode=${templateCode}'+'&hjmc=dzgz', 1100, 650);
    }
}

function CreateDoc(){
  var win = new Ext.ux.wf.WfSelRedHeadFile({
    url: '/yw-rq-qyzz-info!makeDocument.action'
  });
  win.show();
}

function printcz(){
  var busEntityKey = document.forms[0].id.value;
  
  if(busEntityKey != null && busEntityKey != '') {
    var url = '${ctx}/yw-com-print!taskInfo.action?id='+busEntityKey + '&templateCode=' + WF_CONFIG.templateCode;
    YwUtil.openWin({url: url, w: 500, h: 400});
  }
}

function saveOpinion() {
    var jbrTxt = document.getElementById('jbrJudgmentInput');
    var deptTxt = document.getElementById('deptJudgmentInput');
    var lsTxt = document.getElementById('leadershipJudgmentInput');
    var jbrYqTxt = document.getElementById('jbrJudgmentTxt_yq');
    var deptYqTxt = document.getElementById('deptJudgmentTxt_yq');
    var lsYqTxt = document.getElementById('leadershipJudgmentTxt_yq');
    
    var inputObj, divobj;
    if (jbrTxt && !deptTxt && !lsTxt && !jbrYqTxt && !deptYqTxt && !lsYqTxt) {
      inputObj = jbrTxt; divobj = document.getElementById('jbrJudgment');
    } else if (!jbrTxt && deptTxt && !lsTxt && !jbrYqTxt && !deptYqTxt && !lsYqTxt) {
      inputObj = deptTxt; divobj = document.getElementById('deptJudgment');
    } else if (!jbrTxt && !deptTxt && lsTxt && !jbrYqTxt && !deptYqTxt && !lsYqTxt) {
      inputObj = lsTxt; divobj = document.getElementById('leadershipJudgment');
    } else if (!jbrTxt && !deptTxt && !lsTxt && jbrYqTxt && !deptYqTxt && !lsYqTxt) {
      inputobj = jbrYqTxt; divobj = document.getElementById('jbrJudgmentYQ');
    } else if (!jbrTxt && !deptTxt && !lsTxt && !jbrYqTxt && deptYqTxt && !lsYqTxt) {
      inputobj = deptYqTxt; divobj = document.getElementById('deptJudgmentYQ');
    } else if (!jbrTxt && !deptTxt && !lsTxt && !jbrYqTxt && !deptYqTxt && lsYqTxt) {
      inputobj = lsYqTxt; divobj = document.getElementById('leadershipJudgmentYQ');
    }
    
    if (!inputObj || inputObj.value == '') return;
    
    Ext.Ajax.request({
      method:'post',
      url:'${ctx}/wf!saveTaskOpinion.action',
      params:{
        'instance.taskInstDbid': WF_CONFIG.taskInstDbid,
        'instance.handleComments': inputObj.value
      },
      success:function(){
        changeOpinion(inputobj.value, divobj);
        inputobj.value = '';
      },
      scope:this
    });
}

function writeJudgment(index) {
    var divid = '';
    switch(index) {
        case 'A': divid = 'jbrJudgment'; break;
        case 'B': divid = 'deptJudgment'; break;
        case 'C': divid = 'leadershipJudgment'; break;
        case 'D': divid = 'jbrJudgmentYQ'; break;
        case 'E': divid = 'deptJudgmentYQ'; break;
        case 'F': divid = 'leadershipJudgmentYQ'; break;
    }
    var divobj = document.getElementById(divid);
    if (divid == '' || !divobj) {
        alert('参数错误！');
        return;
    }
    var win = new Ext.ux.wf.WfOpinionWin({
        taskInstDbid: Ext.getCmp('WF_TOOLBAR').taskInstDbid
    });
    win.show();
    win.on('complete', function (opinion) {
    changeOpinion(opinion, divobj);    
  });
}

function inputJudgment(index) {
    var divid = '', inputid = '';
    switch(index) {
        case 'A': divid = 'jbrJudgment'; inputid = 'jbrJudgmentInput'; break;
        case 'B': divid = 'deptJudgment'; inputid = 'deptJudgmentInput'; break;
        case 'C': divid = 'leadershipJudgment'; inputid = 'leadershipJudgmentInput'; break;
        case 'D': divid = 'jbrJudgmentYQ'; inputid = 'jbrJudgmentTxt_yq'; break;
        case 'E': divid = 'deptJudgmentYQ'; inputid = 'deptJudgmentTxt_yq'; break;
        case 'F': divid = 'leadershipJudgmentYQ'; inputid = 'leadershipJudgmentTxt_yq'; break;
    }
    var divobj = document.getElementById(divid);
    var inputobj = document.getElementById(inputid);

    if (divid == '' || !divobj) {
        alert('参数错误！');
        return;
    }
    if (inputobj.value == '') { alert('请输入意见!'); return; }
    
    Ext.Ajax.request({
      method:'post',
      url:'${ctx}/wf!saveTaskOpinion.action',
      params:{
        'instance.taskInstDbid': WF_CONFIG.taskInstDbid,
        'instance.handleComments': inputobj.value
      },
      success:function(){
      changeOpinion(inputobj.value, divobj);
        inputobj.value = '';
      },
      scope:this
    });
}

function changeOpinion(opinion, divobj) {
  var userOpinion = document.getElementById('userOpinion');
  if (userOpinion) {
    userOpinion.innerHTML = opinion + '<br>&nbsp;&nbsp;&nbsp;&nbsp;${CurrUserName}&nbsp;&nbsp;' + new Date().format('yyyy-MM-dd hh:mm:ss');
  } else {
    divobj.style.color = '#009966';
    divobj.innerHTML = opinion + '<br>&nbsp;&nbsp;&nbsp;&nbsp;${CurrUserName}&nbsp;&nbsp;' + new Date().format('yyyy-MM-dd hh:mm:ss');
  }
}

Ext.onReady(function(){
	var procInstId = WF_CONFIG.procInstId;
	document.getElementById("procInstId").value=procInstId;
	var taskid=parent.WF_CONFIG.taskInstDbid;
	if (!<wf:hasPriv activities="jbrsl,cksa" /> || taskid=="") {
	   var urls="${ctx}/yw-com-sjcllist!ywList.action?tplcode=${templateCode}&ajid=${id}&qyid=${qyid}&isUpdate=false";
	   document.frames["sjcl_iframe"].location.href=urls;
	}


	if (!<wf:hasPriv activities="jbrsl,cksa" />) {
	     for (var i = 0; i < document.forms[0].elements.length; i++) {
	   	 var element = document.forms[0].elements[i];
	         if(element.isHide){
	           if(element.type =='checkbox'|| element.type=='radio' || element.type=='button'  ||element.name=='clsj') {
	               element.disabled=true; 
	             }else{
	              element.readOnly= true; 
	             }
	         }
	        }
	 }


    var id_ = document.forms[0].id.value;
    var acceptNo_ = document.forms[0].acceptNo.value;
    
    if (id_ == '') {
      if (Ext.getCmp('WF_PRINT')) Ext.getCmp('WF_PRINT').setDisabled(true);
    }
    var centerTabPanel = Ext.getCmp('centerPanel');
    
    var ywPanel = new Ext.TabPanel({
        id: 'YwRqInstallentinfoTpanel',
        renderTo: 'tpanel',
        border: false,
        height: centerTabPanel.getHeight(),
        enableTabScroll: true,
        defaults: {autoScroll: true},
        items: [],
        listeners: {
            remove: function(tp, c) {
                c.hide();
            },
            afterlayout: function(c) {
                c.strip.setWidth(c.stripWrap.getWidth() - 2);
            },
            tabchange : function (tpanel, p) { }
        }
    });
    var cpbPanel = new Ext.Panel({title: '呈批表', tabCls: 'right-tab', contentEl: 'tpanel02', border: false});
    var jbxxPanel = new Ext.Panel({title: '基本信息', tabCls: 'right-tab', contentEl: 'tpanel01', border: false});
    var bjgzPanel = new Ext.Panel({title: '补交告知表', tabCls: 'right-tab', contentEl: 'tpanel00', border: false});
    var yqPanel=new Ext.Panel({title: '延期表', tabCls: 'right-tab', contentEl: 'tpanel05', border: false});
    
    if (<wf:hasPriv activities="jbrsl,czgldsh,wfgldsh,jbrsj,dzgz,czgldyqsh,jbrslyqbl,wzgldsp,wfgldyqsp,wzgldyqsh" />) {//1
        ywPanel.add(new Ext.Panel({id: 'gisPanel', title: 'WEBGIS', tabCls: 'right-tab', contentEl: 'gis_tpanel', border: false, disabled: id_ == '' ? true : false}));
    }
    
    if (<wf:hasPriv activities="cksa,jbrsl,czgldsh,wfgldsh,jbrsj,dzgz,czgldyqsh,jbrslyqbl,wzgldsp,wfgldyqsp,wzgldyqsh" />) {//2
        ywPanel.add(new Ext.Panel({id: 'sjclPanel', title: '收件材料', tabCls: 'right-tab', contentEl: 'sjcl_tpanel', border: false, disabled: id_ == '' ? true : false}));
    }
    
    if (<wf:hasPriv activities="jbrsl,jbrsj,jbrslyqbl,czgldyqsh,wfgldyqsp,wzgldyqsh" />) {
        ywPanel.add(yqPanel);
    }
    
    if (<wf:hasPriv activities="jbrsl,czgldsh,wfgldsh,jbrsj,dzgz,czgldyqsh,jbrslyqbl,wzgldsp,wfgldyqsp,wzgldyqsh" />) {//1
    	ywPanel.add(new Ext.Panel({title: '考核表', tabCls: 'right-tab', contentEl: 'tpanel03', border: false}));
    }
    
    if (<wf:hasPriv activities="cksa,jbrsl,czgldsh,wfgldsh,jbrsj,dzgz,czgldyqsh,jbrslyqbl,wzgldsp,wfgldyqsp,wzgldyqsh" />) {//2
    	ywPanel.add(jbxxPanel);
    }    
    if (<wf:hasPriv activities="jbrsl" />) {
    	ywPanel.add(bjgzPanel);
    }
    if (<wf:hasPriv activities="jbrsl,czgldsh,wfgldsh,jbrsj,dzgz,jbrslyqbl,wzgldsp" />) {
       ywPanel.add(cpbPanel);
       ywPanel.setActiveTab(cpbPanel);
    } else if(<wf:hasPriv activities="czgldyqsh,wfgldyqsp"/>){
      
       ywPanel.setActiveTab(yqPanel);
    }else{
    	//ywPanel.add(cpbPanel);
        ywPanel.setActiveTab(jbxxPanel);
    }
    ywPanel.doLayout(true);
    

});
//电子盖章
function apabiPrint()
{
    var url = '${ctx}/yw-dzgz-list!listByAjid.action?ajid='+'${id}';
    YwUtil.openWin({url: url});
}

//等待窗口
function waiteWin(){
    var wait = new Ext.LoadMask(Ext.getBody(), {msg:"请稍后..."}); 
    return wait;
}
//上传附件
function UploadSqb(){
    var qyid=document.getElementById("qyid").value;
    if(qyid==null || qyid==""){
         Ext.Msg.alert('错误', '请先保存企业信息'); 
         return;
    }
    
	//if(<wf:hasPriv activities="cksa" />){
	    //窗口收案
	     cksaImportData();
	    
	/*}else{
        Ext.MessageBox.show({
            title:'确定导入?',
            msg: '请确认导入的企业信息中企业名称与基本信息表相一致，否则以导入的企业名称为准，覆盖基本信息表！是否确定继续？',
            buttons: Ext.MessageBox.YESNO,
            animEl: 'mb4',
            icon: Ext.MessageBox.QUESTION,
            fn:showUploadWin
        });
		
	}*/

}

//窗口收案入库
function cksaImportData(){
	   Ext.MessageBox.confirm("请确认","确定要将收件材料申请表的信息导入企业信息中吗？",function(button,text){  
	        if(button=="yes")   
	        	checkImportData();
	        else
	          return;
	   });
}

//窗口收案时导入检查
function checkImportData(){
	   var id=document.getElementById("id").value;
	    var qyid=document.getElementById("qyid").value;
	    var acceptNo=document.forms[0].acceptNo.value;
	    var templateCode='${templateCode}';
	    var myMask= waiteWin();
	    var url="${ctx}/yw-rq-qyzz-info!checkImportData.action";
	    myMask.show();
	    Ext.Ajax.request({
	    url:url,
	    params:{id:id,qyid:qyid,acceptNo:acceptNo,templateCode:templateCode},
	    method:'POST',
	    timeout:1200000,
	    success:function(response){
	        myMask.hide();
	        var result=response.responseText;
	        if(result=="exist"){
        	   Ext.MessageBox.confirm("请确认","此企业信息已经存在，确认导入吗？",function(button,text){  
                   if(button=="yes")   
                	   importFinalData();
                   else
                     return;
              });
	        }else if(result!="null" && result!=null && result!=""){
	        	alert("导入的数据在其他信息中存在!");
         		document.getElementById("checkdata").value=result;
         		var actionUrl="${ctx}/yw-rq-qyjyxk!showCheckData.action";
         		 YwUtil.openWin({url: actionUrl, w: 750, h: 550});
	         	 if(confirm("导入的数据在其他信息中存在,确认要继续导入吗?")) {
	         	 	importFinalData();
	         	 }else{
	         	 	return;
	         	 }
	        }else{
	        	importFinalData();
	        }
	      
	   },
	   failure: function() {
	       Ext.Msg.alert('错误', '请求失败,请稍后重试'); 
	       myMask.hide();
	    } 
	});
}
//窗口收案导入
function importFinalData(){
	var id=document.getElementById("id").value;
	var qyid=document.getElementById("qyid").value;
	var acceptNo="";
	if(document.getElementById("acceptNo")){
      acceptNo=document.getElementById("acceptNo").value;
    }
    var myMask= waiteWin();
    var url="${ctx}/yw-rq-qyzz-info!importFinalData.action";
    myMask.show();
    Ext.Ajax.request({
    url:url,
    params:{id:id,qyid:qyid,acceptNo:acceptNo,templateCode:"${templateCode}"},
    method:'POST',
    success:function(response){
        myMask.hide();
        var result=response.responseText;
        if(result==""){
        	Ext.Msg.alert("提示信息","数据导入成功");
        	var action="${ctx}/yw-rq-qyzz-info!getResultImportData.action?id="+id;
            changValue(action);
             showOtherInfo();
        	  //window.location.reload(); 
        }else{
        	   Ext.Msg.alert("提示信息",result);
        }
     
   },
   failure: function() {
       Ext.Msg.alert('错误', '请求失败,请稍后重试'); 
       myMask.hide();
    } 
});
}

function waiteWin(){
    var wait = new Ext.LoadMask(Ext.getBody(), {msg:"请稍后..."}); 
    return wait;
}

//企业信息查看
function viewQydata(){
    var id=document.getElementById("id").value;
     var qyid="";
     var acceptNo="";
    if(document.getElementById("acceptNo")){
      acceptNo=document.getElementById("acceptNo").value;
    }
    if(document.getElementById("qyid")){
        qyid=document.getElementById("qyid").value;
    }
     var myMask= waiteWin();
     var url="${ctx}/yw-rq-qyzz-info!checkViewData.action";
     myMask.show();
     Ext.Ajax.request({
     url:url,
     params:{id:id,qyid:qyid,acceptNo:acceptNo},
     method:'POST',
     success:function(response){
         myMask.hide();
         var result=response.responseText;
         if(result=="dataNotExist"){
              Ext.Msg.alert("提示","此企业信息不存在");
                  return;
         }else{
             exptest("qyxx");
         }
    },
    failure: function() {
        Ext.Msg.alert('错误', '请求失败,请稍后重试'); 
        myMask.hide();
     } 
 });

}

//到导入企业正式信息页面
 function  importFinalQyData(){
     var id=document.getElementById("id").value;
     var  url="${ctx}/gzcgwsp/qyzz/YwRqQyzzInfo/view/YwRqQyzzInfo-viewData.jsp?id="+id;
     YwUtil.openWin({url: url});
}

//上传附件窗口
function showUploadWin(e){
			if(<wf:hasPriv activities="jbrsj" />){
				document.getElementById("process").value="jbrja";
			}else if(<wf:hasPriv activities="cksa" />){
				document.getElementById("process").value="cksa";
			}
           if(e=='yes'){
              Ext.MessageBox.hide();
	          var win = new Ext.ux.wf.UploadSqb({
	          });
	            win.show();
	        } else if(e=='no'){
	           Ext.MessageBox.hide();
	        } 
}
function exptest(type){
   var qyid=document.forms[0].qyid.value;
   var acceptNo=document.forms[0].acceptNo.value;
   var params="";
   var url='${ctx}/yw-rq-qyzz-info!exportInfo.action?qyid='+qyid+'&acceptNo='+acceptNo+'&type='+type;
   window.location.href =url; 
}
</script>
</head>

<body>

<form action="yw-rq-qyzz-info!save.action" method="post">
   <input type="hidden" id="checkdata" />
  <!---------------- 隐藏域区域 开始 ----------------->
  <input type="hidden" name="id" id="id" value="${id}" />
  <input type="hidden" name="qyid" id="qyid" value="${qyid}" />
  <!---------------- 隐藏域区域 结束 ----------------->
   <input type="hidden" id="username"/ value="<%=user.getUser().getUserName() %>"> 
   <input type="hidden" id="type" name="type" value="zs" />
    <!--  <input type="hidden" id="templateCode" name="templateCode" value="${templateCode}" />
   --> 
   <input type="hidden" id="process" name="process"/>
   <input type="hidden" id="procInstId" name="procInstId"/>
   <input type="hidden" id="yqflag" name="yqflag" value="${yqts>0?'Y':'N' }"/>
<div id="tpanel"></div>

<div style="display:none">
<div id="tpanel01" align="center"><%@ include file="YwRqQyzzInfo-sqb.jsp" %></div>
<div id="tpanel02" align="center"><%@ include file="YwRqQyzzInfo-cpb.jsp" %></div>
<div id="tpanel03" align="center"><%@ include file="YwRqQyzzInfo-shb.jsp" %></div>
<div id="tpanel05" align="center"><%@ include file="YwRqQyzzInfo-yqb.jsp" %></div>
<div id="tpanel00" align="center"><%@ include file="YwRqQyzzInfo-bjgz.jsp" %></div>
<div id="gis_tpanel">
  <iframe src="${ctx}/flex/index.html" scrolling="auto" frameborder="0" width="100%" height="100%"></iframe>
</div>
<div id="sjcl_tpanel">
  <iframe id="sjcl_iframe" name="sjcl_iframe" src="${ctx}/yw-com-sjcllist!ywList.action?tplcode=${templateCode}&ajid=${id}&qyid=${qyid}" scrolling="auto" frameborder="0" width="100%" height="100%"></iframe>
</div>
</div>
</form>
</body>
</html>
